/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EshopUserInfoExample extends BaseExample {
    /* @mbggenerated */
    protected String orderByClause;

    /* @mbggenerated */
    protected boolean distinct;

    /* @mbggenerated */
    protected List<Criteria> oredCriteria;

    /* @mbggenerated */
    public EshopUserInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /* @mbggenerated */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /* @mbggenerated */
    public String getOrderByClause() {
        return orderByClause;
    }

    /* @mbggenerated */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /* @mbggenerated */
    public boolean isDistinct() {
        return distinct;
    }

    /* @mbggenerated */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /* @mbggenerated */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /* @mbggenerated */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /* @mbggenerated */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /* @mbggenerated */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /* @mbggenerated */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 对应数据库表 eshop_user_info
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andQqIsNull() {
            addCriterion("qq is null");
            return (Criteria) this;
        }

        public Criteria andQqIsNotNull() {
            addCriterion("qq is not null");
            return (Criteria) this;
        }

        public Criteria andQqEqualTo(Long value) {
            addCriterion("qq =", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqNotEqualTo(Long value) {
            addCriterion("qq <>", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqGreaterThan(Long value) {
            addCriterion("qq >", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqGreaterThanOrEqualTo(Long value) {
            addCriterion("qq >=", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqLessThan(Long value) {
            addCriterion("qq <", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqLessThanOrEqualTo(Long value) {
            addCriterion("qq <=", value, "qq");
            return (Criteria) this;
        }

        public Criteria andQqIn(List<Long> values) {
            addCriterion("qq in", values, "qq");
            return (Criteria) this;
        }

        public Criteria andQqNotIn(List<Long> values) {
            addCriterion("qq not in", values, "qq");
            return (Criteria) this;
        }

        public Criteria andQqBetween(Long value1, Long value2) {
            addCriterion("qq between", value1, value2, "qq");
            return (Criteria) this;
        }

        public Criteria andQqNotBetween(Long value1, Long value2) {
            addCriterion("qq not between", value1, value2, "qq");
            return (Criteria) this;
        }

        public Criteria andWangwangIsNull() {
            addCriterion("wangwang is null");
            return (Criteria) this;
        }

        public Criteria andWangwangIsNotNull() {
            addCriterion("wangwang is not null");
            return (Criteria) this;
        }

        public Criteria andWangwangEqualTo(String value) {
            addCriterion("wangwang =", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangNotEqualTo(String value) {
            addCriterion("wangwang <>", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangGreaterThan(String value) {
            addCriterion("wangwang >", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangGreaterThanOrEqualTo(String value) {
            addCriterion("wangwang >=", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangLessThan(String value) {
            addCriterion("wangwang <", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangLessThanOrEqualTo(String value) {
            addCriterion("wangwang <=", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangLike(String value) {
            addCriterion("wangwang like", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangNotLike(String value) {
            addCriterion("wangwang not like", value, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangIn(List<String> values) {
            addCriterion("wangwang in", values, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangNotIn(List<String> values) {
            addCriterion("wangwang not in", values, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangBetween(String value1, String value2) {
            addCriterion("wangwang between", value1, value2, "wangwang");
            return (Criteria) this;
        }

        public Criteria andWangwangNotBetween(String value1, String value2) {
            addCriterion("wangwang not between", value1, value2, "wangwang");
            return (Criteria) this;
        }

        public Criteria andEshopUrlIsNull() {
            addCriterion("eshop_url is null");
            return (Criteria) this;
        }

        public Criteria andEshopUrlIsNotNull() {
            addCriterion("eshop_url is not null");
            return (Criteria) this;
        }

        public Criteria andEshopUrlEqualTo(String value) {
            addCriterion("eshop_url =", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlNotEqualTo(String value) {
            addCriterion("eshop_url <>", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlGreaterThan(String value) {
            addCriterion("eshop_url >", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlGreaterThanOrEqualTo(String value) {
            addCriterion("eshop_url >=", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlLessThan(String value) {
            addCriterion("eshop_url <", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlLessThanOrEqualTo(String value) {
            addCriterion("eshop_url <=", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlLike(String value) {
            addCriterion("eshop_url like", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlNotLike(String value) {
            addCriterion("eshop_url not like", value, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlIn(List<String> values) {
            addCriterion("eshop_url in", values, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlNotIn(List<String> values) {
            addCriterion("eshop_url not in", values, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlBetween(String value1, String value2) {
            addCriterion("eshop_url between", value1, value2, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andEshopUrlNotBetween(String value1, String value2) {
            addCriterion("eshop_url not between", value1, value2, "eshopUrl");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNull() {
            addCriterion("gmt_modify is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNotNull() {
            addCriterion("gmt_modify is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyEqualTo(Date value) {
            addCriterion("gmt_modify =", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotEqualTo(Date value) {
            addCriterion("gmt_modify <>", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThan(Date value) {
            addCriterion("gmt_modify >", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modify >=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThan(Date value) {
            addCriterion("gmt_modify <", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modify <=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIn(List<Date> values) {
            addCriterion("gmt_modify in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotIn(List<Date> values) {
            addCriterion("gmt_modify not in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyBetween(Date value1, Date value2) {
            addCriterion("gmt_modify between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modify not between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNull() {
            addCriterion("attribute is null");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNotNull() {
            addCriterion("attribute is not null");
            return (Criteria) this;
        }

        public Criteria andAttributeEqualTo(String value) {
            addCriterion("attribute =", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotEqualTo(String value) {
            addCriterion("attribute <>", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThan(String value) {
            addCriterion("attribute >", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThanOrEqualTo(String value) {
            addCriterion("attribute >=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThan(String value) {
            addCriterion("attribute <", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThanOrEqualTo(String value) {
            addCriterion("attribute <=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLike(String value) {
            addCriterion("attribute like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotLike(String value) {
            addCriterion("attribute not like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeIn(List<String> values) {
            addCriterion("attribute in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotIn(List<String> values) {
            addCriterion("attribute not in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeBetween(String value1, String value2) {
            addCriterion("attribute between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotBetween(String value1, String value2) {
            addCriterion("attribute not between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andEshopTypeIsNull() {
            addCriterion("eshop_type is null");
            return (Criteria) this;
        }

        public Criteria andEshopTypeIsNotNull() {
            addCriterion("eshop_type is not null");
            return (Criteria) this;
        }

        public Criteria andEshopTypeEqualTo(String value) {
            addCriterion("eshop_type =", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeNotEqualTo(String value) {
            addCriterion("eshop_type <>", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeGreaterThan(String value) {
            addCriterion("eshop_type >", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeGreaterThanOrEqualTo(String value) {
            addCriterion("eshop_type >=", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeLessThan(String value) {
            addCriterion("eshop_type <", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeLessThanOrEqualTo(String value) {
            addCriterion("eshop_type <=", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeLike(String value) {
            addCriterion("eshop_type like", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeNotLike(String value) {
            addCriterion("eshop_type not like", value, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeIn(List<String> values) {
            addCriterion("eshop_type in", values, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeNotIn(List<String> values) {
            addCriterion("eshop_type not in", values, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeBetween(String value1, String value2) {
            addCriterion("eshop_type between", value1, value2, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopTypeNotBetween(String value1, String value2) {
            addCriterion("eshop_type not between", value1, value2, "eshopType");
            return (Criteria) this;
        }

        public Criteria andEshopIdIsNull() {
            addCriterion("eshop_id is null");
            return (Criteria) this;
        }

        public Criteria andEshopIdIsNotNull() {
            addCriterion("eshop_id is not null");
            return (Criteria) this;
        }

        public Criteria andEshopIdEqualTo(Long value) {
            addCriterion("eshop_id =", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdNotEqualTo(Long value) {
            addCriterion("eshop_id <>", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdGreaterThan(Long value) {
            addCriterion("eshop_id >", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdGreaterThanOrEqualTo(Long value) {
            addCriterion("eshop_id >=", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdLessThan(Long value) {
            addCriterion("eshop_id <", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdLessThanOrEqualTo(Long value) {
            addCriterion("eshop_id <=", value, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdIn(List<Long> values) {
            addCriterion("eshop_id in", values, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdNotIn(List<Long> values) {
            addCriterion("eshop_id not in", values, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdBetween(Long value1, Long value2) {
            addCriterion("eshop_id between", value1, value2, "eshopId");
            return (Criteria) this;
        }

        public Criteria andEshopIdNotBetween(Long value1, Long value2) {
            addCriterion("eshop_id not between", value1, value2, "eshopId");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNull() {
            addCriterion("comm_only_key is null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNotNull() {
            addCriterion("comm_only_key is not null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyEqualTo(Integer value) {
            addCriterion("comm_only_key =", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotEqualTo(Integer value) {
            addCriterion("comm_only_key <>", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThan(Integer value) {
            addCriterion("comm_only_key >", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key >=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThan(Integer value) {
            addCriterion("comm_only_key <", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key <=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIn(List<Integer> values) {
            addCriterion("comm_only_key in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotIn(List<Integer> values) {
            addCriterion("comm_only_key not in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key not between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNull() {
            addCriterion("sale_eshop_id is null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNotNull() {
            addCriterion("sale_eshop_id is not null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdEqualTo(Long value) {
            addCriterion("sale_eshop_id =", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotEqualTo(Long value) {
            addCriterion("sale_eshop_id <>", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThan(Long value) {
            addCriterion("sale_eshop_id >", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id >=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThan(Long value) {
            addCriterion("sale_eshop_id <", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id <=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIn(List<Long> values) {
            addCriterion("sale_eshop_id in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotIn(List<Long> values) {
            addCriterion("sale_eshop_id not in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id not between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }
    }

    /* @mbggenerated */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 对应数据库表 eshop_user_info
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}